package top.infopub.mgr.ic.service;

import com.github.pagehelper.Page;
import top.infopub.mgr.ic.domain.ProgramPlanDomain;
import top.infopub.mgr.ic.vo.ProgramPlanVo;
import top.infopub.model.ic.ProgramPlan;
import top.infopub.generic.GenericService;
import top.infopub.model.ic.ProgramPlanMile;
import top.infopub.model.ic.ProgramPlanSub;

import java.util.List;

public interface ProgramPlanService extends GenericService<ProgramPlan, String> {

    /** codegen **/

    Page<ProgramPlanDomain> selectByDomainWhere(Page<ProgramPlanDomain> page, ProgramPlanVo programPlanVo);

    Page<ProgramPlanDomain> selectMyCheckByDomainWhere(Page<ProgramPlanDomain> page, ProgramPlanVo programPlanVo);

    void saveProgramPlan(ProgramPlan programPlan, List<ProgramPlanMile> planMileList, List<ProgramPlanSub> programPlanSubList, String[] fileAtt);

    ProgramPlanDomain selectById(String id);
}